package com.oncliedisk.administrator.utils;

import com.oncliedisk.administrator.model.FileModel;

import java.util.Comparator;

/**
 * Created by Administrator on 2015/12/4.
 */
public class MyFileComparator implements Comparator<FileModel>{
    @Override
    public int compare(FileModel lhs, FileModel rhs) {
        return rhs.getCreateTime().compareTo(lhs.getCreateTime());
    }
}
